<template>
  <van-popup v-model:show="show" round closeable>
    <div class="popup-main">
      <div class="title">分享連結</div>
      <input type="text" v-model="value" placeholder="請輸入推薦人" />
      <div class="button">確認</div>
    </div>
  </van-popup>
</template>

<script>
export default {
  data() {
    return {
      show: false,
      value: "",
    };
  },
  methods: {
    open() {
      this.show = true;
    },
    close() {
      this.show = false;
    },
  },
};
</script>

<style lang="scss" scoped>
.popup-main {
  width: 90vw;
  padding: 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  .title {
    font-size: 32px;
    font-weight: 600;
    color: #2c2c2c;
  }
  input {
    width: 100%;
    height: 104px;
    background: #f4f6fa;
    border-radius: 16px;
    font-size: 28px;
    text-align: center;
    margin: 32px 0 0 16px;
    border: 0;
  }
  .button {
    width: 100%;
    height: 100px;
    background: #0762ff;
    border-radius: 16px;
    margin: 40px 0 0 16px;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
  }
}
</style>
